"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6812],{84508:function(e,t,o){o.d(t,{Z:function(){return n}});function n(e,t=166){let o;function n(...r){clearTimeout(o),o=setTimeout(()=>{e.apply(this,r)},t)}return n.clear=()=>{clearTimeout(o)},n}},38438:function(e,t,o){var n=o(67294),r=o(75198),i=o(27088),a=o(98885),l=o(40533),s=o(2282),u=o(55545),c=o(85893);function d(e){return"scale(".concat(e,", ").concat(e**2,")")}let v={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},p="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),f=n.forwardRef(function(e,t){let{addEndListener:o,appear:f=!0,children:y,easing:h,in:m,onEnter:Z,onEntered:g,onEntering:x,onExit:P,onExited:b,onExiting:w,style:E,timeout:k="auto",TransitionComponent:A=a.ZP,...R}=e,z=(0,r.Z)(),C=n.useRef(),M=(0,l.Z)(),N=n.useRef(null),j=(0,u.Z)(N,(0,i.Z)(y),t),H=e=>t=>{if(e){let o=N.current;void 0===t?e(o):e(o,t)}},S=H(x),T=H((e,t)=>{let o;(0,s.n)(e);let{duration:n,delay:r,easing:i}=(0,s.C)({style:E,timeout:k,easing:h},{mode:"enter"});"auto"===k?(o=M.transitions.getAutoHeightDuration(e.clientHeight),C.current=o):o=n,e.style.transition=[M.transitions.create("opacity",{duration:o,delay:r}),M.transitions.create("transform",{duration:p?o:.666*o,delay:r,easing:i})].join(","),Z&&Z(e,t)}),F=H(g),L=H(w),O=H(e=>{let t;let{duration:o,delay:n,easing:r}=(0,s.C)({style:E,timeout:k,easing:h},{mode:"exit"});"auto"===k?(t=M.transitions.getAutoHeightDuration(e.clientHeight),C.current=t):t=o,e.style.transition=[M.transitions.create("opacity",{duration:t,delay:n}),M.transitions.create("transform",{duration:p?t:.666*t,delay:p?n:n||.333*t,easing:r})].join(","),e.style.opacity=0,e.style.transform=d(.75),P&&P(e)}),_=H(b);return(0,c.jsx)(A,{appear:f,in:m,nodeRef:N,onEnter:T,onEntered:F,onEntering:S,onExit:O,onExited:_,onExiting:L,addEndListener:e=>{"auto"===k&&z.start(C.current||0,e),o&&o(N.current,e)},timeout:"auto"===k?null:k,...R,children:(e,t)=>{let{ownerState:o,...r}=t;return n.cloneElement(y,{style:{opacity:0,transform:d(.75),visibility:"exited"!==e||m?void 0:"hidden",...v[e],...E,...y.props.style},ref:j,...r})}})});f&&(f.muiSupportAuto=!0),t.Z=f},83254:function(e,t,o){o.d(t,{Z:function(){return Z}});var n=o(67294),r=o(90512),i=o(49348),a=o(93784),l=o(26061),s=o(40533),u=o(99551),c=o(63715),d=o(33950),v=o(57480),p=o(1801);function f(e){return(0,p.ZP)("MuiPaper",e)}(0,v.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var y=o(85893);let h=e=>{let{square:t,elevation:o,variant:n,classes:r}=e;return(0,i.Z)({root:["root",n,!t&&"rounded","elevation"===n&&"elevation".concat(o)]},f,r)},m=(0,l.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,"elevation"===o.variant&&t["elevation".concat(o.elevation)]]}})((0,u.Z)(e=>{let{theme:t}=e;return{backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:e=>{let{ownerState:t}=e;return!t.square},style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:"1px solid ".concat((t.vars||t).palette.divider)}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}}));var Z=n.forwardRef(function(e,t){var o;let n=(0,c.i)({props:e,name:"MuiPaper"}),i=(0,s.Z)(),{className:l,component:u="div",elevation:v=1,square:p=!1,variant:f="elevation",...Z}=n,g={...n,component:u,elevation:v,square:p,variant:f},x=h(g);return(0,y.jsx)(m,{as:u,ownerState:g,className:(0,r.Z)(x.root,l),ref:t,...Z,style:{..."elevation"===f&&{"--Paper-shadow":(i.vars||i).shadows[v],...i.vars&&{"--Paper-overlay":null===(o=i.vars.overlays)||void 0===o?void 0:o[v]},...!i.vars&&"dark"===i.palette.mode&&{"--Paper-overlay":"linear-gradient(".concat((0,a.Fq)("#fff",(0,d.Z)(v)),", ").concat((0,a.Fq)("#fff",(0,d.Z)(v)),")")}},...Z.style}})})},86812:function(e,t,o){o.d(t,{XS:function(){return R},ZP:function(){return z}});var n=o(67294),r=o(90512),i=o(49348),a=o(30613),l=o(26061),s=o(63715),u=o(2623),c=o(56543),d=o(61254),v=o(38438),p=o(95424),f=o(83254),y=o(57480),h=o(1801);function m(e){return(0,h.ZP)("MuiPopover",e)}(0,y.Z)("MuiPopover",["root","paper"]);var Z=o(61484),g=o(9208),x=o(85893);function P(e,t){let o=0;return"number"==typeof t?o=t:"center"===t?o=e.height/2:"bottom"===t&&(o=e.height),o}function b(e,t){let o=0;return"number"==typeof t?o=t:"center"===t?o=e.width/2:"right"===t&&(o=e.width),o}function w(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?"".concat(e,"px"):e).join(" ")}function E(e){return"function"==typeof e?e():e}let k=e=>{let{classes:t}=e;return(0,i.Z)({root:["root"],paper:["paper"]},m,t)},A=(0,l.ZP)(p.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),R=(0,l.ZP)(f.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0});var z=n.forwardRef(function(e,t){let o=(0,s.i)({props:e,name:"MuiPopover"}),{action:i,anchorEl:l,anchorOrigin:p={vertical:"top",horizontal:"left"},anchorPosition:f,anchorReference:y="anchorEl",children:h,className:m,container:z,elevation:C=8,marginThreshold:M=16,open:N,PaperProps:j={},slots:H={},slotProps:S={},transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:F,transitionDuration:L="auto",TransitionProps:O={},disableScrollLock:_=!1,...q}=o,D=n.useRef(),W={...o,anchorOrigin:p,anchorReference:y,elevation:C,marginThreshold:M,transformOrigin:T,TransitionComponent:F,transitionDuration:L,TransitionProps:O},I=k(W),X=n.useCallback(()=>{if("anchorPosition"===y)return f;let e=E(l),t=(e&&1===e.nodeType?e:(0,c.Z)(D.current).body).getBoundingClientRect();return{top:t.top+P(t,p.vertical),left:t.left+b(t,p.horizontal)}},[l,p.horizontal,p.vertical,f,y]),B=n.useCallback(e=>({vertical:P(e,T.vertical),horizontal:b(e,T.horizontal)}),[T.horizontal,T.vertical]),Y=n.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},o=B(t);if("none"===y)return{top:null,left:null,transformOrigin:w(o)};let n=X(),r=n.top-o.vertical,i=n.left-o.horizontal,a=r+t.height,s=i+t.width,u=(0,d.Z)(E(l)),c=u.innerHeight-M,v=u.innerWidth-M;if(null!==M&&rc){let e=a-c;r-=e,o.vertical+=e}if(null!==M&&iv){let e=s-v;i-=e,o.horizontal+=e}return{top:"".concat(Math.round(r),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:w(o)}},[l,y,X,B,M]),[G,J]=n.useState(N),K=n.useCallback(()=>{let e=D.current;if(!e)return;let t=Y(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,J(!0)},[Y]);n.useEffect(()=>(_&&window.addEventListener("scroll",K),()=>window.removeEventListener("scroll",K)),[l,_,K]);let Q=()=>{K()},U=()=>{J(!1)};n.useEffect(()=>{N&&K()}),n.useImperativeHandle(i,()=>N?{updatePosition:()=>{K()}}:null,[N,K]),n.useEffect(()=>{if(!N)return;let e=(0,u.Z)(()=>{K()}),t=(0,d.Z)(E(l));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[l,N,K]);let V=L,$={slots:{transition:F,...H},slotProps:{transition:O,paper:j,...S}},[ee,et]=(0,Z.Z)("transition",{elementType:v.Z,externalForwardedProps:$,ownerState:W,getSlotProps:e=>({...e,onEntering:(t,o)=>{var n;null===(n=e.onEntering)||void 0===n||n.call(e,t,o),Q()},onExited:t=>{var o;null===(o=e.onExited)||void 0===o||o.call(e,t),U()}}),additionalProps:{appear:!0,in:N}});"auto"!==L||ee.muiSupportAuto||(V=void 0);let eo=z||(l?(0,c.Z)(E(l)).body:void 0),[en,{slots:er,slotProps:ei,...ea}]=(0,Z.Z)("root",{ref:t,elementType:A,externalForwardedProps:{...$,...q},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:H.backdrop},slotProps:{backdrop:(0,g.Z)("function"==typeof S.backdrop?S.backdrop(W):S.backdrop,{invisible:!0})},container:eo,open:N},ownerState:W,className:(0,r.Z)(I.root,m)}),[el,es]=(0,Z.Z)("paper",{ref:D,className:I.paper,elementType:R,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:{elevation:C,style:G?void 0:{opacity:0}},ownerState:W});return(0,x.jsx)(en,{...ea,...!(0,a.Z)(en)&&{slots:er,slotProps:ei,disableScrollLock:_},children:(0,x.jsx)(ee,{...et,timeout:V,children:(0,x.jsx)(el,{...es,children:h})})})})},2623:function(e,t,o){var n=o(84508);t.Z=n.Z},30613:function(e,t){t.Z=function(e){return"string"==typeof e}},9208:function(e,t,o){o.d(t,{Z:function(){return r}});var n=o(90512);function r(e,t){if(!e)return t;function o(e,t){let o={};return Object.keys(t).forEach(n=>{(function(e,t){let o=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&o>=65&&o<=90&&"function"==typeof t})(n,t[n])&&"function"==typeof e[n]&&(o[n]=function(){for(var o=arguments.length,r=Array(o),i=0;i{let i="function"==typeof t?t(r):t,a="function"==typeof e?e({...r,...i}):e,l=(0,n.Z)(null==r?void 0:r.className,null==i?void 0:i.className,null==a?void 0:a.className),s=o(a,i);return{...i,...a,...s,...!!l&&{className:l},...(null==i?void 0:i.style)&&(null==a?void 0:a.style)&&{style:{...i.style,...a.style}},...(null==i?void 0:i.sx)&&(null==a?void 0:a.sx)&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=o(e,t),i=(0,n.Z)(null==t?void 0:t.className,null==e?void 0:e.className);return{...t,...e,...r,...!!i&&{className:i},...(null==t?void 0:t.style)&&(null==e?void 0:e.style)&&{style:{...t.style,...e.style}},...(null==t?void 0:t.sx)&&(null==e?void 0:e.sx)&&{sx:[...Array.isArray(t.sx)?t.sx:[t.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}},56543:function(e,t,o){var n=o(67603);t.Z=n.Z},61254:function(e,t,o){var n=o(58255);t.Z=n.Z}}]);